MdBlog Liaison App
Easily integrate markdown-based blog-articles into your website. Does not use a database.
Create a blog directory & structure it like so:
blogs/
test/ ## a category
header-with-php.md
category/
sub-category/
another-blog.md
blog-slug.md
hidden-post.draft.md # draft posts won't ever be shown.
With Liaison, simply do:
@import(Usage.Main)
Otherwise, see @see_file(app/addon/Main.php) for more
Notes:
- All urls start with
/blog/
. This will be configurable in the future
To show views on your own
-
$lia->addon('tlf:mdblog.blog')->get_blog_grid();
-
$lia->addon('tlf:mdblog.blog')->get_blog_card();
Install
@template(composer_install,taeluf/liaison.md-blog)